﻿using System;
namespace Microsoft.Data.OData
{
    /// <summary>
    /// A helper class to associate a <see cref="T:Microsoft.Data.OData.ODataFormat" /> with a media type.
    /// </summary>
    internal sealed class MediaTypeWithFormat
    {
        /// <summary>The media type.</summary>
        public MediaType MediaType
        {
            get;
            set;
        }
        /// <summary>
        /// The <see cref="T:Microsoft.Data.OData.ODataFormat" /> for this media type.
        /// </summary>
        public ODataFormat Format
        {
            get;
            set;
        }
    }
}
